#include "NOTGate.h"

NOTGate::NOTGate()
{
    type=3;
    gate_x=20;
    gate_y=250;
    clickState=0;
    indegree=0;
    output=233;
    maxlen=1;
    gateType="";
    Gate::setName();
    gateType.append(gateName);
    gateType.append(" :");
    gateType.append("1");
}
void NOTGate::DoSimulate()
{
    output=Inputs[0]==0?1:0;
}
